package p270jp.pxv.android.legacy.model;

/* renamed from: jp.pxv.android.legacy.model.DaoManager */
/* loaded from: classes2.dex */
public class DaoManager {
    private final PixivOpenHelper helper;

    public DaoManager(PixivOpenHelper pixivOpenHelper) {
        this.helper = pixivOpenHelper;
    }

    public DaoSession getReadableSession() {
        return new DaoMaster(this.helper.getReadableDatabase()).newSession();
    }

    public DaoSession getWritableSession() {
        return new DaoMaster(this.helper.getWritableDatabase()).newSession();
    }
}
